#ifndef _AABB_H
#define _AABB_H

#include "math/Vector3.h"

struct AABB {
	AABB(const Vector3& _corner1 = Vector3(), const Vector3& _corner2 = Vector3());
	Vector3 corner1;
	Vector3 corner2;
	Vector3 center;
	bool intersect(const AABB& bb2) const;
};

#endif /* _AABB_H */
